Skip to main content

Datasets

A dataset is a data source bound to the cases of a collection. Datasets are submitted from Source, or retrieved from an external source.

Datasets in Collection Details

Datasets are of two types:

  1. Row, tabular data whose rows drive case iterations. .csv and .json files result in this dataset type.
  2. Document, a file or captured output that provides log captures. Document content is referenced as {{doc.name}}. .xlsx, .xls, .log, and .txt files result in this dataset type.

The datasets of a collection are listed in a table containing the following columns:

Datasets columns in Datasets
  1. Dataset, the name of a dataset. For a document, its size in bytes is also displayed.
  2. Type, the type of the dataset, either ROW or DOCUMENT. For a row dataset, the number of rows is also displayed.
  3. Origin/Fetch, the origin of the dataset. A row dataset displays Inline rows. A document displays either the name of the source file or, for a document retrieved from an external source, the name of the external source together with the retrieval timing.
  4. Status, the availability of the dataset. A Ready status indicates that the dataset is available for use, while At runtime indicates that the document is retrieved during the run.
  5. Used By, the cases that are bound to the dataset. A dash (-) indicates that no case is bound to it.
  6. Actions, the operations available for the dataset: rename, delete, and retrieve again for eligible datasets.

The list can be filtered by type using the Show dropdown (ALL, ROW, or DOCUMENT) and reloaded by clicking on Refresh.

'Show' dropdown and 'Refresh' button in Datasets

Retrieve From an External Source​

A dataset can be retrieved from an external source by clicking on Retrieve From an External Source. To retrieve a dataset from an external source, an External Source SSH is required. This can be setup in External Sources.

'Retrieve From an External Source' button in Datasets

The following fields must be specified before retrieving from an external source:

'Retrieve From an External Source' form in Datasets
  1. Dataset Name, the name under which the retrieved document is stored.
  2. External Source, the SSH-configured external source from which the document is retrieved.
  3. Retrieve, when the document is retrieved.
  4. Source Definition, the command or definition executed on the external source. Now retrieves the document immediately, using the selected environment while During each case's run fetches the document after each request, using the environment and variables of that run.
  5. Environment, the environment used to retrieve the document when Now is selected.
  6. Wait Seconds, the delay in seconds before the document is fetched. This field is displayed for runtime retrieval.
'Save' and 'Cancel' buttons in 'Retrieve From an External Source' form

Click Save to store the definition, or Cancel to discard it.

Rename​

A dataset can be renamed by clicking on the pencil icon in the Actions column.

'Rename' icon in Datasets 'Rename' modal in Datasets

Delete​

A dataset can be deleted by clicking on the trashcan icon in the Actions column. Deletion is disabled if the dataset is bound to a case, which is indicated in the Used By column. A spreadsheet used as a field layout is bound on the case's Data, and deletion is disabled while that binding exists. Users will be prompted to confirm their choice.

'Delete' icon in Datasets 'Delete' modal in Datasets

Retrieve Again​

Retrieve Again is available for a document that was retrieved from an external source with the Now option. Selecting it repeats the retrieval and refreshes the content of the document. The retrieved document will also be exported to Source.

'Retrieve Again' button in Datasets